package org.openmore.opc.service;

import org.openmore.opc.dto.UserProfileDto;
import org.openmore.opc.dto.WechatMiniApp;
import org.openmore.opc.dto.WxMpUser;
import org.openmore.opc.entity.enums.LoginType;

public interface LoginService {

    /**app三方登陆*/
    UserProfileDto appThirdLogin(String tenantId, LoginType type, WxMpUser wxUserInfo);

    /**小程序登录*/
    UserProfileDto miniAppLogin(String tenantId, WechatMiniApp wechat);
}
